|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrolesystem.roles.auction.Seller
public abstract class Seller
This role is the seller of an auction. Keywords: auction, seller.
| Field Summary | |
|---|---|
static KnownEvent |
KE_pay
An auctioneer pays. |
static KnownEvent |
KE_saleAccepted
An auctioneer notifies that my sale has been accepted. |
static KnownEvent |
KE_saleRefused
An auctioneer notifies that my sale has been refused. |
static KnownEvent |
KE_unsold
An auctioneer notifies that my good is unsold. |
static java.lang.String |
ROLE_ID
Role identifier. |
| Constructor Summary | |
|---|---|
Seller()
|
|
| Method Summary | |
|---|---|
static RoleAction |
putOnSale(int addressee,
Sale content)
Puts a good on sale. |
static RoleAction |
reqSale(int addressee)
Requests to put a good on sale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ROLE_ID
public static final KnownEvent KE_saleAccepted
public static final KnownEvent KE_saleRefused
public static final KnownEvent KE_unsold
public static final KnownEvent KE_pay
| Constructor Detail |
|---|
public Seller()
| Method Detail |
|---|
public static RoleAction reqSale(int addressee)
addressee - Auctioneer
public static RoleAction putOnSale(int addressee,
Sale content)
addressee - Auctioneercontent - Characteristics of the sale, i.e. reserve price, good on sale and its description.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||